package com.jic.member.api.rest;

import com.jic.common.base.vo.RestResult;
import com.jic.member.request.MememberIntegralActionRequest;
import org.apache.ibatis.annotations.Param;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "jic-member",path = "/memberIntegralConsumerApi")
public interface MemberIntegralConsumerApi {

    @PostMapping("/updMemberIntegralInfo")
    RestResult updMemberIntegralInfo(@RequestBody MememberIntegralActionRequest request);

    @PostMapping("/getMemberIntegralInfo")
    Integer getMemberIntegralInfo(@Param("thirdUserId") String thirdUserId);
}
